class RolesPrivilegeDetail < ActiveRecord::Base
  belongs_to :role
  belongs_to :module, :class_name => 'Privilege', :foreign_key=>"module_id"
  belongs_to :menu, :class_name => 'Privilege', :foreign_key=>"menu_id"
  #belongs_to :privilege
  belongs_to :privilege_detail
end
